package DailyPractice.Day26;

/**
 * @author lumin
 * @date 2022/05/23 22:04
 **/
public class Num1 {
    public int jumpFloorII(int target) {
        if (target <= 0) {
            return -1;
        } else if (target == 1) {
            return 1;
        } else {
            return 2 * jumpFloorII(target - 1);
        }
    }
}